package com.yqg.protection.controller.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yqg.protection.cover.LocalDateTimeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * ImportFireManageInforDto类
 *
 * @author zxf
 * @since 2024-10-16
 */
@Data
public class ImportFireManageInforDto {

    @ExcelProperty(value = "文书名称(必填)", index = 0)
    @ApiModelProperty("文书名称")
    private String fileName;

    @ExcelProperty(value = "发文机构", index = 1)
    @ApiModelProperty("发文机构")
    private String issuingAgency;

    @ExcelProperty(value = "编号", index = 2)
    @ApiModelProperty("编号")
    private String fileNum;

    @ExcelProperty(value = "发文时间", index = 3, converter = LocalDateTimeConverter.class)
    @ApiModelProperty("发文时间")
    private LocalDateTime issuingTime;

    @ExcelProperty(value = "文件路径", index = 4)
    @ApiModelProperty("文件路径")
    private String fileUrl;

}
